<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
  <head>
    <title><s:text name="page.title.prefix" /> <s:property value="#pageTitle" /></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/style.css" />
  </head>
  <body>
  
  <div>
  view
  <form action="saveUser.do">
  	<ul>
	  		<li>
	  			<input name="user.id" value="<s:property value="user.id"/>" type="hidden" class="input" />
	  		</li>
	  		<li>
	  			<input name="user.name" value="<s:property value="user.name"/>" type="text"  class="input" />
	  		</li>
	  		<li>
	  			<input name="user.password" value="<s:property value="user.password"/>" type="text"  class="input" />
	  		</li>
	  		<li>
	  			<input name="user.email" value="<s:property value="user.email"/>" type="text"  class="input" />
	  		</li>
  		
  	</ul>
  	<s:if test="user==null || !isSystemObject(user)">
  		<input type="submit" value="submit" >
  	</s:if>
  	<s:else>
  		<input type="button" value="return" onclick="javascript:history.back();" />
  	</s:else>
  	</form>
  </div>
  
  <jsp:include page="/include/alertErrors.jsp"/>
  </body>
  
</html>